package org.jeecg.modules.c.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.jeecg.modules.c.entity.MSignal;
import org.jeecg.modules.c.mapper.MSignalMapper;
import org.jeecg.modules.c.service.IMSignalService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;
import java.util.stream.Collectors;

/**
 * @Description: 数据信号表
 * @Author: jeecg-boot
 * @Date: 2024-11-06
 * @Version: V1.0
 */
@Service
public class MSignalServiceImpl extends ServiceImpl<MSignalMapper, MSignal> implements IMSignalService {

    @Autowired
    private MSignalMapper mSignalMapper;

    @Override
    public List<MSignal> getListLike(String replace) {
        QueryWrapper queryWrapper = new QueryWrapper<>();
        queryWrapper.like("Id", replace);
        List<MSignal> list = mSignalMapper.selectList(queryWrapper);
        return list;

    }


}
